import { StyleSheet } from 'react-native';
import { phonePx } from '../../../../util/adapt';
import { getScreenInfo, ScreenOrientation } from '../../../../util/screen';

const { width } = getScreenInfo({
  screenOrientation: ScreenOrientation.Portrait
});

export default StyleSheet.create({
  container: {
    flex: 1,
    width,
    backgroundColor: 'transparent'
  },
  launch: {
    position: 'absolute',
    left: 0,
    top: 0,
    right: 0,
    bottom: 0
  },
  loading: {
    paddingHorizontal: phonePx(16),
    backgroundColor: 'rgba(0, 0, 0, 0.6)',
    borderRadius: phonePx(6)
  },
  loadingDesc: {
    fontSize: phonePx(16),
    color: '#FFF',
    fontWeight: '400',
    lineHeight: phonePx(33)
  }
});
